package com.singfan.core.service.impl;

import com.singfan.core.dao.database.IManagerDao;
import com.singfan.core.dao.database.model.Manager;
import com.singfan.core.service.IManagerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Author: hansonghe
 * Date: 2015-10-13 17:44
 * Desc:
 */
@Service
public class ManagerServiceImpl implements IManagerService {
    @Autowired
    private IManagerDao managerDao;

    @Override
    public Manager findManager(String email, String pwd) {
        return managerDao.selectByEmailAndPwd(email, pwd);
    }
}
